implemented create and write functions in FileProcessing error need to be fixed