Creates an instance from a file reference with a two parameter constructor