Removed direct file path access