Fixed method name
Rewrote based on ArtifactManager and VirtualFile