Decode filepath