Instructions for rotating file through sinatra