File download changes need to fix img upload