fix getFiles naming and remove comment