Why the is_file check, you know it isn't a folder already?