prepare for file driver