Using compile_file rather than compile_dir