Added functionality to ignore filenames