Fix wrong function name files -> getFiles.