add date for files
add method test