Treble-checks for empty file-name.
Tightens file_name conditions.