getFile wnComponent fix