createdAt init added to BaseFile constructor