Update file.py

add function for creating symlink