Filter hidden files from partials import

This filters the files that are read from the partials directory so hidden files are not processed.