first commit on getfromfile class