Added file import dialog related code