move fileName field Exception handling to getter