bash scripts for making edd for given file