Update file adapter to support python module files