Added sky file writer