added return type Long for fileManager so TimeUnit can use it