fix to file.functions