changed dom size from int to double in input files and filereader