delete file after picture delete.+fixes