Added email message if lock on file couldn't be achieved.