Set filename properly