wire up getfile conditions