Changed argument order to getFilesByExtention