Add day of year
Filelocking and filewatching