tile to file