Add md5 filenames to prevent doublicate files, Remove dev test code