Adding the media directory to the files to be ignored