Adds working getFileEntry method.

Can create or read an existing file entry.