Forced use of factory for retrieving file