Moved stage document functionality to job entity
Added getFileName function