add possibility to specify a file name (without extension) instead of date of extraction