Use hpp instead of h. Added scan to file class.