Provide only one factory for files