fix :file handling