file deletion is hanedeled trough ajax.