Added doFile
Added print redirect (not implemented yet)