properly use filename