optimize imports and coretc removal of .nfs files