Script for file rotation, using time created