finalized file parsing
fixed final for PSR