fix length check
flash link can be downloaded
removed a filename of the first letter is a period on unix system