Changed getFile paramaters