A script to fix dates based on an input filename