catch null when getting file on external directory