Moved some code around.

Changed ‘…forFile’ to ‘…fromFile’.