Since the argument to import_file/1 has to be a literal, it's not that difficult to construct desired path by hand