Added a 'last modified' parameter to write the last date that the file was modified