Made a seperate method for writing the database access time files Added tests for checkIfDatabasesWereModified