raise RunTimeErrors of file path or target name is blank