Added logic to exclude file names containing x