Refine file types using list

added the option to use a file to set file types to search for.