Import bug fix for files module.