Added a file handler to allow compilation on any architecture