Added read from file functionality

Loop unrolling not finished but file works