fix 2 bugs, not clearing out externally downloaded files and arbitrary file resizing