append filename to dom