[common] Added common.datafile() function.