Before detaching the external drive and to fully release the lock on the pst file you must still first close Outlook. Functions and programs inheriting an open file descriptor can read from and write to the file descriptor. How to read an external file in c Click the folder shaped button and Python for Competitive Programming.