return false if given empty id when checking if container has file
default to 'no-name' if sanitization strips out name completely
only append extension if file has one