pass file extension in to getFiles