Fixed file uploading. Added confurmation on item deletion