Added getFilesInDirectory function
Added getFilesInDirectory function