Add docs to migration filename number extract func