Fixed file editor, made folder import script more modular