Allow pure_file for old project