Refactored FileName.py