Add FileParser and improve config file