Modified FileHandler to work. Implemented FileHandler into main.

Signed-off-by: Jonathan Niven <jonnyniv@gmail.com>