Check filesize is greater than zero before deleteing a file from library