fixed file handler
changed default platforms