Detect date from the post filename instead of the second line of the file