Added support for preset file