add file extension because difficul to always know file format otherwise