Create fileFunctions