Fix calling of getFilesFromAnHash, also pep8

Change-Id: I906d003dde9083cf18ccb443fca635b581992ba1