Added FileSync ( need to add access to database)