File to factory

File to factory