added registerFile.do