Module to list files in directory, filtered by extension