changed FileHandle to IO::File in cmds