getFile implemented