updated argument name in __fullpath method from 'file' to 'infile' in order to not override a built in keyword