Loading flags from file.