added FileDto.java file. bug fixed